﻿using System.Collections.Generic;
using System.Threading.Tasks;
using dreamwork.mobile.app.api.Models.Data;
using dreamwork.mobile.app.api.Models.ViewModel;
using DereamWork.Model.ViewModel;
using MongoDB.Bson;

namespace dreamwork.mobile.app.api.Services
{
    public interface ITerminalUserService
    {
        Task<ServiceResult<TerminalUser>> GetById(string id);
        Task<UserLoginResult> LoginAsync(TerminalUser user);
        Task<UserLogoutResult> LogoutAsync();
        Task<ServiceResult<TerminalUser>> ModifyAsync(TerminalUser user);
        Task<ServiceResult<IEnumerable<TerminalUser>>> GetListAsync();
        Task<ServiceResult<TerminalUser>> UpdatePositionAsync(TerminalUser user);
    }
}